package jcataloger.util;

/**
 * This class controls the print functions in java according to a boolean value.<br>
 * If the value is true, it prints the messages on the console.
 * @author sekobey
 *
 */
public class Debug {
	private static final boolean DEBUG = false;
	
	public static void println(String msg) {
		if ( DEBUG )
			System.out.println( msg );
	}
	
	public static void print( String msg ) {
		if ( DEBUG )
			System.out.print( msg );
	}
}
